import { LOGIN } from "../Const";

const initState = {
    username:"",
    token:"" ,
    login_state:false
}
export default function fullscreenReducer(previousState=initState , action) {
    const {type , data} = action
    switch (type) {
        case LOGIN:
            return data
        default:
            return previousState;
    }
}